package com.feedback.b;

import android.content.Context;
import android.content.Intent;
import com.feedback.a.d;
import com.feedback.a.e;
import com.feedback.ui.FeedbackConversation;
import com.feedback.ui.FeedbackConversations;
import com.feedback.ui.SendFeedback;

public class a
{
  public static void a(Context paramContext)
  {
    a(paramContext, null);
  }

  public static void a(Context paramContext, d paramd)
  {
    Intent localIntent = new Intent(paramContext, SendFeedback.class);
    localIntent.setFlags(131072);
    if ((paramd != null) && (paramd.b == e.b))
      localIntent.putExtra("feedback_id", paramd.c);
    paramContext.startActivity(localIntent);
  }

  public static void b(Context paramContext)
  {
    Intent localIntent = new Intent(paramContext, FeedbackConversations.class);
    localIntent.setFlags(131072);
    paramContext.startActivity(localIntent);
  }

  public static void b(Context paramContext, d paramd)
  {
    FeedbackConversation.setUserContext(paramContext);
    Intent localIntent = new Intent(paramContext, FeedbackConversation.class);
    localIntent.setFlags(131072);
    localIntent.putExtra("feedback_id", paramd.c);
    paramContext.startActivity(localIntent);
  }
}